package com.jrx.anytxn.transaction.dto.payment;

import com.jrx.anytxn.transaction.dto.common.CommonAddReq;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;

/**
 * @program: anytxn-cf-parent
 * @description: 提前还下期账单请求
 * @author: xiaoyu.jing
 * @date: 2021-06-09 17:20
 **/
public class BillPrepayNextReq extends CommonAddReq {

    /**
     * 卡号
     */
    @ApiModelProperty(value = "卡号",required = true)
    private String cardNumber;

    /**
     * 还款金额
     */
    @DecimalMin(value="0",message = "还款金额必需大于0")
    private BigDecimal paymentAmount;


    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public BigDecimal getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

}
